#chatapp {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatbox {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: scroll;
    height: 500px;
}

.chatbox div {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #e1f5fe;
    max-width: 80%;
}

.chatbox div.self {
    background-color: #c8e6c9;
    align-self: flex-end;
}

// .chatbox {
//     height: 300px;
//     overflow-y: auto;
//     border: 1px solid #ccc;
//     padding: 10px;
// }
// .self {
//     text-align: right;
//     color: blue;
// }
